package com.gree.yipai.base.callback;

import androidx.lifecycle.ViewModel;

import com.gree.yipai.base.BaseActivity;
import com.gree.yipai.base.BaseFragment;

/**
 * 用来规范{@link BaseActivity} 和{@link BaseFragment} 风格。
 * @author youdelu
 */
public interface IView<VM extends ViewModel> {
    /**
     * 创建ViewModel
     * @return
     */
    VM createViewModel();
}
